package KK.Data
{
	import flash.utils.ByteArray;
	import flash.utils.Endian;

	public class ProtocolData
	{
		
		static public const INT16:uint=2;
		static public const INT32:uint=4;
		static public const INT64:uint=8;
		static public const CHAR:uint=1;
		
		public static function Creator():ByteArray{
			var result:ByteArray=new ByteArray;
			result=new ByteArray;
			result.endian=Endian.LITTLE_ENDIAN;
			return result;
		}
		
		/**
		 * 序列化  
		 * @param byte
		 * 
		 */
		public function Serialize(byte:ByteArray):void{
			
		}
		
		/**
		 * f反序列化  
		 * @param byte
		 * 
		 */
		public function Unserialize(byte:ByteArray):void{
			
		}
		
		/**
		 * 获取大小  
		 * @return 
		 * 
		 */
		public function getSize():uint{
			return 0;
		}
	}
}